package com.hhkj.admin.invoice.service.base;

import com.hhkj.admin.invoice.domain.InvoiceTitle;
import com.hhkj.admin.invoice.model.dopo.InvoiceTitleDo;
import com.hhkj.admin.invoice.model.dopo.InvoiceTitlePo;
import com.ruoyi.common.base.biz.service.base.BaseService;

/**
* @author admin
* @description 针对表【s_invoice_title(记录发票title)】的数据库操作Service
* @createDate 2023-10-27 11:51:17
*/
public interface InvoiceTitleService
        extends BaseService<InvoiceTitle, InvoiceTitleDo, InvoiceTitlePo> {

    /**
     * 清除默认标记，将所有发票title置为非默认状态
     *
     * @param saleId
     * @return
     */
    boolean clearDefaultFlag(Long saleId);
}
